package April._30.answer.work4;

import java.util.ArrayList;
import java.util.Random;

public class Main {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        int cnt = 0;
        Random r = new Random();
        while (list.size() < 6) {

            int num = r.nextInt(33) + 1;
            if (!list.contains(num))
                list.add(num);
        }

        list.add(r.nextInt(16) + 1);
        System.out.println(list);
    }
}
